package com.ssy.lingxi.contract.model.vo.sign.request;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * 生成电子合同请求实体
 * @author yzc
 * @version 2.0.0
 * @date 2020/9/15
 */
public class SignContractCreatePreOrderRequest implements Serializable {

    private static final long serialVersionUID = -4090333449832234951L;

    /**
     * 合同模板id
     */
    @NotNull(message = "合同模板id不能为空")
    private Long contractTemplateId;

    /**
     * 签署方会员id
     */
    @NotNull(message = "签署方会员id不能为空")
    private Long signMemberId;

    /**
     * 签署方角色id
     */
    @NotNull(message = "签署方角色id不能为空")
    private Long signRoleId;

    /**
     * 对应报价单号
     */
    private String quotationNo;

    /**
     * 选择订单商品
     */
    private List<OrderProductRequest> orderProductRequests;

    /**
     * 下单模式ID
     */
    @NotNull(message = "下单模式ID不能为空")
    private Long orderModel;

    /**
     * 交付地址ID
     */
    @NotNull(message = "交付地址ID不能为空")
    private Long deliveryAddresId;


    public Long getContractTemplateId() {
        return contractTemplateId;
    }

    public void setContractTemplateId(Long contractTemplateId) {
        this.contractTemplateId = contractTemplateId;
    }

    public Long getSignMemberId() {
        return signMemberId;
    }

    public void setSignMemberId(Long signMemberId) {
        this.signMemberId = signMemberId;
    }

    public Long getSignRoleId() {
        return signRoleId;
    }

    public void setSignRoleId(Long signRoleId) {
        this.signRoleId = signRoleId;
    }

    public String getQuotationNo() {
        return quotationNo;
    }

    public void setQuotationNo(String quotationNo) {
        this.quotationNo = quotationNo;
    }

    public List<OrderProductRequest> getOrderProductRequests() {
        return orderProductRequests;
    }

    public void setOrderProductRequests(List<OrderProductRequest> orderProductRequests) {
        this.orderProductRequests = orderProductRequests;
    }

    public Long getOrderModel() {
        return orderModel;
    }

    public void setOrderModel(Long orderModel) {
        this.orderModel = orderModel;
    }

    public Long getDeliveryAddresId() {
        return deliveryAddresId;
    }

    public void setDeliveryAddresId(Long deliveryAddresId) {
        this.deliveryAddresId = deliveryAddresId;
    }
}
